﻿namespace DDD.Core.DtoBases;

/// <summary>
/// 分页查询输出
/// </summary>
/// <typeparam name="T"></typeparam>
public record QueryPageOutput<T>
{
    public int Total { get; init; } = 0;

    public int PageIndex { get; init; } = 0;

    public int PageSize { get; init; } = 0;

    public IEnumerable<T> Data { get; init; } = Enumerable.Empty<T>();
}
